package com.hxzy.entity;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description:
 * @Author: ykj
 * @Date: 2022/3/8 14:51
 */
public class Build implements Serializable {
    private String id;  //主键
    @NotBlank(message = "小区编号不能为空")
    private String plotId;  //小区编号
    @NotBlank(message = "楼栋编号不能为空")
    private String hsId;    //楼栋编号
    @NotBlank(message = "楼栋名称不能为空")
    private String hsName;  //楼栋名称
    @NotBlank(message = "楼栋面积不能为空")
    private String hsS; //楼栋面积

    private String hsRemark;    //备注

    @Override
    public String toString() {
        return "Build{" +
                "id='" + id + '\'' +
                ", plotId='" + plotId + '\'' +
                ", hsId='" + hsId + '\'' +
                ", hsName='" + hsName + '\'' +
                ", hsS='" + hsS + '\'' +
                ", hsRemark='" + hsRemark + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPlotId() {
        return plotId;
    }

    public void setPlotId(String plotId) {
        this.plotId = plotId;
    }

    public String getHsId() {
        return hsId;
    }

    public void setHsId(String hsId) {
        this.hsId = hsId;
    }

    public String getHsName() {
        return hsName;
    }

    public void setHsName(String hsName) {
        this.hsName = hsName;
    }

    public String getHsS() {
        return hsS;
    }

    public void setHsS(String hsS) {
        this.hsS = hsS;
    }

    public String getHsRemark() {
        return hsRemark;
    }

    public void setHsRemark(String hsRemark) {
        this.hsRemark = hsRemark;
    }
}
